Optimal. Leaf size=418 \[ -\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} b^{5/2} f}-\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} b^{5/2} f}+\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.356122, antiderivative size = 418, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.36, Rules used = {2582, 2585, 2574, 297, 1162, 617, 204, 1165, 628} \[ -\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} b^{5/2} f}-\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} b^{5/2} f}+\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2582
Rule 2585
Rule 2574
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{\sqrt{a \sin (e+f x)}}{(b \sec (e+f x))^{3/2}} \, dx &=\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}+\frac{\int \sqrt{b \sec (e+f x)} \sqrt{a \sin (e+f x)} \, dx}{4 b^2}\\ &=\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}+\frac{\left (\sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \int \frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}} \, dx}{4 b^2}\\ &=\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}+\frac{\left (a \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{2 b f}\\ &=\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}-\frac{\left (a \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a-b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{4 b^2 f}+\frac{\left (a \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a+b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{4 b^2 f}\\ &=\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}+\frac{\left (a \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 b^3 f}+\frac{\left (a \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 b^3 f}+\frac{\left (\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}+2 x}{-\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 \sqrt{2} b^{5/2} f}+\frac{\left (\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}-2 x}{-\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 \sqrt{2} b^{5/2} f}\\ &=\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} b^{5/2} f}-\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} b^{5/2} f}+\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}+\frac{\left (\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} b^{5/2} f}-\frac{\left (\sqrt{a} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} b^{5/2} f}\\ &=-\frac{\sqrt{a} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{4 \sqrt{2} b^{5/2} f}+\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} b^{5/2} f}-\frac{\sqrt{a} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} b^{5/2} f}+\frac{(a \sin (e+f x))^{3/2}}{2 a b f \sqrt{b \sec (e+f x)}}\\ \end{align*}
Mathematica [C] time = 0.231035, size = 76, normalized size = 0.18 \[ \frac{\sec ^2(e+f x) \sqrt{a \sin (e+f x)} \left (2 \tan (e+f x) \, _2F_1\left (\frac{3}{4},1;\frac{7}{4};-\tan ^2(e+f x)\right )+3 \sin (2 (e+f x))\right )}{12 f (b \sec (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.144, size = 516, normalized size = 1.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \sin \left (f x + e\right )}}{\left (b \sec \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \sin \left (f x + e\right )}}{\left (b \sec \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]